export declare interface IUserLogin {
  username: string,
  password: string,
  captchaId?: string,
  verifyCode?: string,
}

export declare interface IUserList {
  createTime: string,
  departmentId: string,
  departmentName: string,
  email: string | null,
  headImg: string,
  id: number,
  name: string,
  nickName: string
  phone: string | null,
  remark: string | null,
  roleName: string | null
  status: number | null,
  updateTime: string | null,
  username: string | null
}

export declare interface AddUser {
  id: number,
  username: string,
  nickname: string,
  mobile: string,
  gender: string,
  avatar: string,
  email: string,
  status: number,
  deptId: number,
  roleIds: number[]
}
declare global {
  /**
   * 分页查询参数
   */
  interface PageQuery {
    pageNum: number;
    pageSize: number;
  }
}

interface DialogOption {
  /**
   * 弹窗标题
   */
  title?: string;
  /**
   * 是否显示
   */
  visible: boolean;
}